package com.cmj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cmj.domain.ResponseResult;
import com.cmj.domain.dto.MenuDto;
import com.cmj.domain.entity.Menu;

import java.util.List;

/**
 * 这是注释
 */
public interface MenuService extends IService<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<Menu> selectRouterMenuTreeByUserId(Long userId);

    ResponseResult getMenuList(MenuDto menuDto);

    ResponseResult<Menu> addMenu(Menu menu);

    ResponseResult delMenu(Integer[] ids);

    ResponseResult getMenu(Long id);

    ResponseResult updateMenu(Menu menu);

    ResponseResult getUserMenuTree(Long id);
}

